package com.patttern.behavior.strategy;

/**
 * @Author: root
 * @Date: 2018/12/3 22:43
 */
public class Client {
    public static void main(String[] args) {
        Context context = new Context(new VIPCustomer());
        context.printPrice(100);
        context = new Context(new HighCustomer());
        context.printPrice(100);
        context = new Context(new PrimaryCustomer());
        context.printPrice(100);
    }
}
